<template>
    <div class="smartMoney-container">
        <div class="left">
            <div class="top">
                <jLink :list="breadcrumbs" @hit="backTo"></jLink>
            </div>
            <div class="left-title">{{ $t('message.Clever_Deal.title.a') }}</div>
            <div class="left-table">
                <smartTable></smartTable>
            </div>
        </div>
        <div class="right">
            <rightRank></rightRank>
        </div>
    </div>
</template>

<script setup lang="ts">
import { ref, reactive, toRefs } from "vue"
import i18n from "@/locals";
import smartTable from './components/smart-table.vue';
import rightRank from './components/ranks.vue';
import { useRouter } from "vue-router";
import jLink from "@/components/j-link/index.vue";
const router = useRouter()
const breadcrumbs = [{
    title: i18n.global.t("message.News.info.b"),
    disabled: false,
    href: '/',
}, {
    title: i18n.global.t("message.Clever_Deal.title.a"),
    disabled: false,
    href: '',
}]
const backTo = (e: any) => {
    console.log(e);
    router.push(e.href)
}

</script>
<style lang="less" scoped>
@import url("./index.less");
</style>